<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>




<div class="box no-border">
	<div class="header">
		<h2>${pageTitle}</h2>
	</div>
	<isperp:grid url="app/icon/list" gridId="iconGrid" altRows="true"
		gridTitle="${pageTitle}" pager="iconPager" cusFormatterActions="true"
		cusEditUrl="app/icon/edit" cusDeleteUrl="app/icon/delete"
		excelExportUrl="app/icon/excelExport"
		ondbClickRowEvent="iconGrid.edit(rowid);" multiselect="false"
		cusDialogSize="small">
		<jsp:attribute name="toolbar">
		<isperp:toolbar id="iconToolbar">
			<isperp:button id="iconCreate" text="新增" icon="icon-plus"
					onclick="iconGrid.create();"></isperp:button>
			<isperp:button id="iconExcelExport" text="导出到Excel"
					icon="icon-download" onclick="iconGrid.excelExport();"></isperp:button>
		</isperp:toolbar>
		</jsp:attribute>
		<jsp:attribute name="searchbar">
		<table class="search-table">
			<tbody>
				<tr>
					<td>名称：</td>
					<td><input type="text" field="name" op="cn">
						</td>
					<td>图标尺寸：</td>
					<td>
					 <input type="radio" name="size" field="size" op="ne" value=""
							checked="checked" />所有 <input type="radio" name="size"
							field="size" op="eq" value="16x16">16x16<input
							type="radio" name="size" field="size" op="eq" value="24x24">24x24
							<input type="radio" name="size" field="size" op="eq"
							value="48x48">48x48
						</td>
				</tr>
			</tbody>
		</table>
		</jsp:attribute>
		<jsp:body>
		<isperp:column name="id" title="id" hidden="true"></isperp:column>
		<isperp:column name="" title="图标" align="center" width="50"
				isFormatterFun="true" formatter=" return '\<img src=\"'+rowObject.imgPath+'\"/\>'; "></isperp:column>

		<isperp:column name="name" title="名称" width="120">
		</isperp:column>
		<isperp:column name="size" title="尺寸" width="80" align="center">
		</isperp:column>
		<isperp:column name="imgPath" title="图标地址" width="320"
				formatter="link">
			<isperp:formatoptions target="_blank"></isperp:formatoptions>
		</isperp:column>
		</jsp:body>
	</isperp:grid>
</div>

